Total Complexity | 34 |
Dependencies | 9 |
Dependents | 1 |
Total lines | 243 |
Lines of code | 186 |
Logical lines of code | 68 |
Comment lines | 11 |
Methods | 15 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
patch_item() | 52 | 6 | 24 | |
prepare_item_for_response() | 55 | 6 | 18 | |
update_item() | 53 | 5 | 21 | |
delete_item() | 56 | 3 | 18 | |
get_items() | 61 | 3 | 12 | |
register_routes() | 48 | 1 | 37 | |
get_collection_params() | 58 | 1 | 19 | |
get_item() | 63 | 2 | 10 | |
__construct() | 77 | 1 | 4 | |
get_items_permissions_check() | 80 | 1 | 3 | |
get_item_permissions_check() | 80 | 1 | 3 | |
update_item_permissions_check() | 80 | 1 | 3 | |
patch_item_permissions_check() | 80 | 1 | 3 | |
delete_item_permissions_check() | 80 | 1 | 3 | |
get_item_schema() | 68 | 1 | 8 |